#include "bottomall.h"
#include "bottomsidebar.h"
#include "custombutton.h"
#include "iphonewindow.h"

BottomAll::BottomAll(QWidget * parent) : QWidget(parent){

    // 调整大小和位置
    resize(400, 200);
    move(-5, 700);

    BSbar = new BottomSidebar(this);
    UpdateButton = new CustomButton(this);
    BSbar->stackUnder(UpdateButton);
    UpdateButton->raise();
    UpdateButton->setIcon(QIcon(":/res/UI/add_circle.png"));
    //HomeButton->setText("首页");

    UpdateButton->resize(90,90);
    UpdateButton->move(150, 0);

}
